<?php

declare(strict_types=1);

namespace App\Request\Report;

use App\Request\Request;

class ReportBehaviorReq extends Request
{
    /**
     * Get the validation rules that apply to the request.
     */
    public function rules(): array
    {
        return [
            'appId'     => 'required|integer:strict',
            'channel'   => 'required|string',
            'version'   => 'required|string',
            'oaid'      => 'present|string',
            'ua'        => 'present|string',
            'sessionId' => 'required|string', // 会话ID
            'eventType' => 'required'
        ];
    }
}
